#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import numpy as np
from importlib import reload
from kNNAlgo import kNN

reload(kNN)
datingDataMat,datingLabels = kNN.file2matrix('datingTestSet.txt')
normMat,ranges,minVals = kNN.autoNorm(datingDataMat)

print(normMat)
print(ranges)
print(minVals)

